text/template.Template.name (field)
13 uses
text/template (current package)
exec.go#L191: return fmt.Errorf("template: no template %q associated with template %q", name, t.name)
template.go#L31: name string
template.go#L41: name: name,
template.go#L49: return t.name
template.go#L62: name: name,
template.go#L96: if k == t.name {
template.go#L97: nt.tmpl[t.name] = nt
template.go#L114: name: t.name,
template.go#L131: if name != t.name {
template.go#L207: trees, err := parse.Parse(t.name, text, t.leftDelim, t.rightDelim, t.parseFuncs, builtins())
template.go#L228: if old := t.tmpl[new.name]; old != nil && parse.IsEmptyTree(tree.Root) && old.Tree != nil {
template.go#L233: t.tmpl[new.name] = new